projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90b991d
)
printing: Fix a typo
author
Marek Kasik
<mkasik@redhat.com>
Thu, 26 Jan 2012 09:52:47 +0000
(10:52 +0100)
committer
Marek Kasik
<mkasik@redhat.com>
Thu, 26 Jan 2012 09:52:47 +0000
(10:52 +0100)
Fix a typo which crashes on my printer.
modules/printbackends/cups/gtkprintercups.c
patch
|
blob
|
history
diff --git
a/modules/printbackends/cups/gtkprintercups.c
b/modules/printbackends/cups/gtkprintercups.c
index 09b5bfd916ac167798b5cb2afb7c91dc3a04a0c5..cc1c5774ba2e971d10c8f3d3b82c9d67facf495d 100644
(file)
--- a/
modules/printbackends/cups/gtkprintercups.c
+++ b/
modules/printbackends/cups/gtkprintercups.c
@@
-346,6
+346,8
@@
gtk_printer_cups_update_settings (GtkPrinterCups *printer,
/* cupsICCQualifier3 */
option = gtk_printer_option_set_lookup (set, "cups-Resolution");
if (option != NULL)
+ format[2] = option->value;
+ else
format[2] = "*";
/* get profile for the device given the qualifier */